<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="合同信息" namespace="contractChangeDetail"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" style="margin-right:10px;"
                                v-on:click="_openSelectContractInfoModel()">
                            <i class="fa fa-search"></i>
                            <vc:i18n name="选择合同" namespace="contractChangeDetail"></vc:i18n>
                        </button>
                        <button type="button" class="btn btn-primary btn-sm" style="margin-right:10px;"
                                v-on:click="_goBack()">
                            <i class="fa fa-close"></i>返回
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="合同名称：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.contractName}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <span><vc:i18n name="合同编号" namespace="contractChangeDetail"></vc:i18n></span>：
                                </label>
                                <label class="">{{contractChangeDetailInfo.contractCode}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <span><vc:i18n name="合同类型" namespace="contractChangeDetail"></vc:i18n></span>：
                                </label>
                                <label class="">{{contractChangeDetailInfo.contractTypeName}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="甲方：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.partyA}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="甲方联系人：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.aContacts}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="甲方联系电话：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.aLink}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="乙方：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.partyB}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="乙方联系人：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.bContacts}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="乙方联系电话：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.bLink}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="经办人" namespace="contractChangeDetail："></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.operator}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="联系电话：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.operatorLink}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="合同金额：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.amount}}</label>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="开始时间：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.startTime}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="结束时间：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.endTime}}</label>
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <label class="col-form-label">
                                    <vc:i18n name="签订时间：" namespace="contractChangeDetail"></vc:i18n>
                                </label>
                                <label class="">{{contractChangeDetailInfo.signingTime}}</label>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 主体变更 -->
    <div v-if="contractChangeDetailInfo.param == 'contractChangeMainBody'">
        <vc:create path="admin/contractChangeMainBody" emitChooseContract="contractChangeDetailInfo"
                   emitLoadData="notice">
        </vc:create>
    </div>
    <!-- 租期调整 -->
    <div v-show="contractChangeDetailInfo.param == 'contractChangeLease'">
        <vc:create path="admin/contractChangeLease" emitChooseContract="contractChangeDetailInfo" emitLoadData="notice">
        </vc:create>
    </div>
    <!--资产调整-->
    <div v-show="contractChangeDetailInfo.param == 'contractChangeAssets'">
        <vc:create path="admin/contractChangeAssets" emitChooseContract="contractChangeDetailInfo"
                   emitLoadData="notice">
        </vc:create>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>
                        <vc:i18n name="变更说明" namespace="contractChangeDetail"></vc:i18n>
                    </h5>
                    <div class="ibox-tools" style="top:10px;"></div>
                </div>
                <div class="ibox-content">
                    <div class="form-group row">
                        <label class="col-sm-2 col-form-label">
                            <vc:i18n name="变更说明" namespace="contractChangeDetail"></vc:i18n>
                        </label>
                        <div class="col-sm-10 ">
                            <textarea v-model="newContract.changeRemark" rows="5"
                                      :placeholder="vc.i18n('必填，请填写变更说明','contractChangeDetail')"
                                      class="form-control">
                            </textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div v-if="contractChangeDetailInfo.audit == '1001'">
        <vc:create path="property/purchaseApprovers" callBackListener="contractChangeDetail" callBackFunction="notify3"
                   flowType="60006">
        </vc:create>
    </div>
    <div class="row">
        <div class="col-md-10"></div>
        <div class="col-md-2 " style="margin-bottom:10px; text-align:right">
            <button type="button" class="btn btn-primary" style="margin-left:10px;"
                    v-on:click="_submitChangeContract()">
                <span><vc:i18n name="提交" namespace="contractChangeDetail"></vc:i18n></span>
            </button>
        </div>
    </div>
    <vc:create path="admin/chooseContract" emitChooseContract="contractChangeDetailInfo"
               emitLoadData="contractChangeDetailInfo">
    </vc:create>
</div>